﻿using System;
using System.Collections.Generic;
using System.Text;
using GalaSoft.MvvmLight.Ioc;

namespace GyroscopeSample.ViewModels {
    public class ViewModelLocator {
        public MainPageViewModel MainPageViewModel =>
            SimpleIoc.Default.GetInstance<MainPageViewModel>();

        public ViewModelLocator() {
            SimpleIoc.Default.Register<MainPageViewModel>();
        }
    }
}